package com.sram.entity;

import java.util.Date;

public class User {
	private int id;
	private String userName;
	private String password;
	private int age;
	private boolean gender;
	private Date birthday;
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public int getAge() {
		return age;
	}
	public void setAge(int age) {
		this.age = age;
	}
	public boolean isGender() {
		return gender;
	}
	public void setGender(boolean gender) {
		this.gender = gender;
	}
	public Date getBirthday() {
		return birthday;
	}
	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}
	public User(int id, String userName, String password, int age,
			boolean gender, Date birthday) {
		super();
		this.id = id;
		this.userName = userName;
		this.password = password;
		this.age = age;
		this.gender = gender;
		this.birthday = birthday;
	}
	public User(String userName, String password, int age, boolean gender,
			Date birthday) {
		super();
		this.userName = userName;
		this.password = password;
		this.age = age;
		this.gender = gender;
		this.birthday = birthday;
	}
	public User() {
		super();
	}

//	@Override
//	public String toString() {
//		return "User{" +
//				"id=" + id +
//				", userName='" + userName + '\'' +
//				", password='" + password + '\'' +
//				", age=" + age +
//				", gender=" + gender +
//				", birthday=" + birthday +
//				'}';
//	}
}
